package org.jeecg.modules.power.user.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 押金明细
 * @Author: jeecg-boot
 * @Date:   2024-07-15
 * @Version: V1.0
 */
@Data
@TableName("yl_user_deposit")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="yl_user_deposit对象", description="押金明细")
public class YlUserDeposit implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id 主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id 主键")
    private String id;
	/**用户id*/
	@Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
    private String userId;
	/**押金金额*/
	@Excel(name = "押金金额", width = 15)
    @ApiModelProperty(value = "押金金额")
    private BigDecimal payPrice;
	/**类型 1 充值 2退款(对应字典 deposit_type) */
	@Excel(name = "类型 1 充值 2退款(对应字典 deposit_type) ", width = 15, dicCode = "deposit_type")
	@Dict(dicCode = "deposit_type")
    @ApiModelProperty(value = "类型 1 充值 2退款(对应字典 deposit_type) ")
    private Integer type;
	/**押金支付单号*/
	@Excel(name = "押金支付单号", width = 15)
    @ApiModelProperty(value = "押金支付单号")
    private String payNumber;
	/**创建时间*/
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新时间*/
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
